package com.wootion.cims.module.systemsetting.role.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wootion.cims.module.systemsetting.role.model.SysRole;
import com.wootion.cims.response.ResponseResult;

import javax.servlet.http.HttpServletRequest;

public interface SysRoleService extends IService<SysRole>{

    ResponseResult insert(JSONObject sysUser);

    ResponseResult update(HttpServletRequest request,JSONObject jsonObject);

    ResponseResult deleteById(String id);

    ResponseResult selectPage(Integer limit, Integer page);

    ResponseResult findById(String s);

    ResponseResult selectAll();
}
